/*
 * @Descripttion: 
 * @version: 
 * @Author: qingzi
 * @Date: 2022-04-20 17:18:59
 * @LastEditors: qingzi
 * @LastEditTime: 2023-04-07 22:23:29
 */
import { createRouter, createWebHistory, RouteRecordRaw, createWebHashHistory } from "vue-router";

const routes: Array<RouteRecordRaw> = [
  // {
  //   path: '/',
  //   name: 'Login',
  //   component: () => import('@/views/login.vue'),
  // },
  // {
  //   path: '/',
  //   name: 'openHome',
  //   component: () => import('@/views/openHome.vue')
  // },
  {
    path: '/',
    name: 'pie',
    component: () => import('@/views/pie.vue')
  },
  {
    path: '/bar',
    name: 'bar',
    component: () => import('@/views/bar.vue')
  }
];





const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
